<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Aloha Editor Editable Test Suite</title>
	<!-- include qunit -->
	<link rel="stylesheet" href="../vendor/qunit.css" type="text/css"/>

	<!-- include jquery -->
	<script	src="../../lib/vendor/jquery-3.7.0.js" ></script>
	<script type="text/javascript" src="../vendor/qunit.js"></script>
	<script type="text/javascript" src="../vendor/jquery.simulate.js"></script>

	<!-- include aloha -->
	<script>
		var Aloha = {
			settings: {
				jQuery: $,
				baseUrl: '../../lib'
			}
		};
	</script>
	<script src="../../lib/require.js"></script>
	<script src="../../lib/aloha.js" data-aloha-plugins=""></script>
</head>
<body>
	<!-- include the tests -->
	<script>
	// define realtive baseUrl path to requireJS
	// and paths back to aloha path
	require( ['editabletests'] );
	</script>
	<h1 id="qunit-header">Aloha Editor Editable Test Suite</h1>
	<h2 id="qunit-banner"></h2>
	<div id="qunit-testrunner-toolbar"></div>
	<h2 id="qunit-userAgent"></h2>
	<ol id="qunit-tests"></ol>
	<div id="qunit-fixture">
	
		<!-- References for plaintext tests -->
		<div id="ref-plaintext">This is plain text</div>
		<div id="ref-plaintext-start-enter"><p><br/></p><p>This is plain text</p></div>
		<div id="ref-plaintext-start-dblenter"><p><br/></p><p><br/></p><p>This is plain text</p></div>
		<div id="ref-plaintext-mid-enter"><p>This is pl</p><p>ain text</p></div>
		<div id="ref-plaintext-mid-dblenter"><p>This is pl</p><p><br/></p><p>ain text</p></div>
		<div id="ref-plaintext-end-enter"><p>This is plain text</p><p><br/></p></div>
		<div id="ref-plaintext-end-dblenter"><p>This is plain text</p><p><br/></p><p><br/></p></div>
		<!-- References for Heading tests -->
		<div id="ref-heading"><h1>Header with <b>bold</b> content</h1></div>
		<div id="ref-heading-start-enter"><h1><br></h1><h1>Header with <b>bold</b> content</h1></div>
		<div id="ref-heading-start-dblenter"><h1><br></h1><h1><br></h1><h1>Header with <b>bold</b> content</h1></div>
		<div id="ref-heading-mid-enter"><h1>Hea</h1><h1>der with <b>bold</b> content</h1></div>
		<div id="ref-heading-mid-dblenter"><h1>Hea</h1><h1><br></h1><h1>der with <b>bold</b> content</h1></div>
		<div id="ref-heading-bold-enter"><h1>Header with <b>bo</b></h1><h1><b>ld</b> content</h1></div>
		<div id="ref-heading-bold-dblenter"><h1>Header with <b>bo</b></h1><h1><br></h1><h1><b>ld</b> content</h1></div>
		<div id="ref-heading-end-enter"><h1>Header with <b>bold</b> content</h1><p><br></p></div>
		<div id="ref-heading-end-dblenter"><h1>Header with <b>bold</b> content</h1><p><br></p><p><br></p></div>
		<div id="ref-heading-start-shift-enter"><h1><br/>Header with <b>bold</b> content</h1></div>
		<div id="ref-heading-start-shift-dblenter"><h1><br/><br/>Header with <b>bold</b> content</h1></div>
		<div id="ref-heading-mid-shift-enter"><h1>Hea<br/>der with <b>bold</b> content</h1></div>
		<div id="ref-heading-mid-shift-dblenter"><h1>Hea<br/><br/>der with <b>bold</b> content</h1></div>
		<div id="ref-heading-bold-shift-enter"><h1>Header with <b>bo<br/>ld</b> content</h1></div>
		<div id="ref-heading-bold-shift-dblenter"><h1>Header with <b>bo<br/><br/>ld</b> content</h1></div>
		<div id="ref-heading-end-shift-enter"><h1>Header with <b>bold</b> content<br/><br/></h1></div>
		<div id="ref-heading-end-shift-dblenter"><h1>Header with <b>bold</b> content<br/><br/><br/></h1></div>
		<!-- References for Paragraph tests -->
		<div id="ref-paragraph"><p>This is <i>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-start-enter"><p><br></p><p>This is <i>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-start-dblenter"><p><br></p><p><br></p><p>This is <i>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-mid-enter"><p>This is <i>italic</i>-te</p><p>xt in a paragraph</p></div>
		<div id="ref-paragraph-mid-dblenter"><p>This is <i>italic</i>-te</p><p><br></p><p>xt in a paragraph</p></div>
		<div id="ref-paragraph-startitalic-enter"><p>This is </p><p><i>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-startitalic-dblenter"><p>This is </p><p><br></p><p><i>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-miditalic-enter"><p>This is <i>ita</i></p><p><i>lic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-miditalic-dblenter"><p>This is <i>ita</i></p><p><br></p><p><i>lic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-enditalic-enter"><p>This is <i>italic</i></p><p>-text in a paragraph</p></div>
		<div id="ref-paragraph-enditalic-dblenter"><p>This is <i>italic</i></p><p><br></p><p>-text in a paragraph</p></div>
		<div id="ref-paragraph-end-enter"><p>This is <i>italic</i>-text in a paragraph</p><p><br></p></div>
		<div id="ref-paragraph-end-dblenter"><p>This is <i>italic</i>-text in a paragraph</p><p><br></p><p><br></p></div>
		<div id="ref-paragraph-start-shift-enter"><p><br/>This is <i>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-start-shift-dblenter"><p><br/><br/>This is <i>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-mid-shift-enter"><p>This is <i>italic</i>-te<br/>xt in a paragraph</p></div>
		<div id="ref-paragraph-mid-shift-dblenter"><p>This is <i>italic</i>-te<br/><br/>xt in a paragraph</p></div>
		<div id="ref-paragraph-startitalic-shift-enter"><p>This is <i><br/>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-startitalic-shift-dblenter"><p>This is <i><br/><br/>italic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-miditalic-shift-enter"><p>This is <i>ita<br/>lic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-miditalic-shift-dblenter"><p>This is <i>ita<br/><br/>lic</i>-text in a paragraph</p></div>
		<div id="ref-paragraph-enditalic-shift-enter"><p>This is <i>italic<br/></i>-text in a paragraph</p></div>
		<div id="ref-paragraph-enditalic-shift-dblenter"><p>This is <i>italic<br/><br/></i>-text in a paragraph</p></div>
		<div id="ref-paragraph-end-shift-enter"><p>This is <i>italic</i>-text in a paragraph<br/><br/></p></div>
		<div id="ref-paragraph-end-shift-dblenter"><p>This is <i>italic</i>-text in a paragraph<br/><br/><br/></p></div>
		<!-- References for List tests -->
		<div id="ref-list"><ul><li>first</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-special1"><ul><li><b></b>word</li></ul></div>
		
		<div id="ref-list-firststart-enter"><ul><li><br/></li><li>first</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firststart-dblenter"><ul><li><br/></li><li><br/></li><li>first</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firstmid-enter"><ul><li>fi</li><li>rst</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firstmid-dblenter"><ul><li>fi</li><li><br/></li><li>rst</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firstend-enter"><ul><li>first</li><li><br/></li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firstend-dblenter"><ul><li>first</li></ul><p><br/></p><ul><li>second</li><li>third</li></ul></div>
		
		<div id="ref-list-secondstart-enter"><ul><li>first</li><li><br/></li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-secondstart-dblenter"><ul><li>first</li><li><br/></li><li><br/></li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-secondmid-enter"><ul><li>first</li><li>sec</li><li>ond</li><li>third</li></ul></div>
		<div id="ref-list-secondmid-dblenter"><ul><li>first</li><li>sec</li><li><br/></li><li>ond</li><li>third</li></ul></div>
		<div id="ref-list-secondend-enter"><ul><li>first</li><li>second</li><li><br/></li><li>third</li></ul></div>
		<div id="ref-list-secondend-dblenter"><ul><li>first</li><li>second</li></ul><p><br></p><ul></li><li>third</li></ul></div>
		
		<div id="ref-list-laststart-enter"><ul><li>first</li><li>second</li><li><br/></li><li>third</li></ul></div>
		<div id="ref-list-laststart-dblenter"><ul><li>first</li><li>second</li><li><br/></li><li><br/></li><li>third</li></ul></div>
		<div id="ref-list-lastmid-enter"><ul><li>first</li><li>second</li><li>th</li><li>ird</li></ul></div>
		<div id="ref-list-lastmid-dblenter"><ul><li>first</li><li>second</li><li>th</li><li><br/></li><li>ird</li></ul></div>
		<div id="ref-list-lastend-enter"><ul><li>first</li><li>second</li><li>third</li><li><br/></li></ul></div>
		<div id="ref-list-lastend-dblenter"><ul><li>first</li><li>second</li><li>third</li></ul><p><br/></p></div>
		
		<div id="ref-list-firststart-shift-enter"><ul><li><br/>first</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firststart-shift-dblenter"><ul><li><br/><br/>first</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firstmid-shift-enter"><ul><li>fi<br/>rst</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firstmid-shift-dblenter"><ul><li>fi<br/><br/>rst</li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firstend-shift-enter"><ul><li>first<br/><br/></li><li>second</li><li>third</li></ul></div>
		<div id="ref-list-firstend-shift-dblenter"><ul><li>first<br/><br/><br/></li><li>second</li><li>third</li></ul></div>
		
		<div id="ref-list-secondstart-shift-enter"><ul><li>first</li><li><br/>second</li><li>third</li></ul></div>
		<div id="ref-list-secondstart-shift-dblenter"><ul><li>first</li><li><br/><br/>second</li><li>third</li></ul></div>
		<div id="ref-list-secondmid-shift-enter"><ul><li>first</li><li>sec<br/>ond</li><li>third</li></ul></div>
		<div id="ref-list-secondmid-shift-dblenter"><ul><li>first</li><li>sec<br/><br/>ond</li><li>third</li></ul></div>
		<div id="ref-list-secondend-shift-enter"><ul><li>first</li><li>second<br/><br/></li><li>third</li></ul></div>
		<div id="ref-list-secondend-shift-dblenter"><ul><li>first</li><li>second<br/><br/><br/></li><li>third</li></ul></div>
		
		<div id="ref-list-laststart-shift-enter"><ul><li>first</li><li>second</li><li><br/>third</li></ul></div>
		<div id="ref-list-laststart-shift-dblenter"><ul><li>first</li><li>second</li><li><br/><br/>third</li></ul></div>
		<div id="ref-list-lastmid-shift-enter"><ul><li>first</li><li>second</li><li>th<br/>ird</li></ul></div>
		<div id="ref-list-lastmid-shift-dblenter"><ul><li>first</li><li>second</li><li>th<br/><br/>ird</li></ul></div>
		<div id="ref-list-lastend-shift-enter"><ul><li>first</li><li>second</li><li>third<br/><br/></li></ul></div>
		<div id="ref-list-lastend-shift-dblenter"><ul><li>first</li><li>second</li><li>third<br/><br/><br/></li></ul></div>
		
		<div id="ref-list-enter-emptyb"><ul><li><b></b><br/></li><li>word</li></ul></div>
		
	</div>
	<div id="edit" style="margin:20px; border:1px solid #000000;"></div>
</body>
</html>
